/**
 * 
 */
package com.qdairlines.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @author pangyannan
 * @date 2017年3月2日
 * @company QingDao Airlines
 * @description
 */
public class BaseConsts {
	public static final String YES = "yes";	
	public static final String NO = "no";	
	public static final String Y = "Y";	
	public static final String N = "N";	
	public static final Integer POJO_STATUS_ABLE = 1; //数据库对应的bean中，数据状态是可用
	public static final Integer POJO_STATUS_DISABLE = 0 ;//数据库对应的bean中，数据状态是禁用的
	public static final String  RESPONSE_MSG = "msg" ; //一般在controller中定义的返回操作成功的值
	public static final String  RESPONSE_MSG_SUCCESS = "success" ; //一般在controller中定义的返回操作成功的值
	public static final String  RESPONSE_MSG_ERROR = "error" ; //一般在controller中定义的返回操作失败的值
	@SuppressWarnings("serial")
	public final static Map<String, String> RESPONSE_MAP_SUCCESS = new HashMap<String, String>() {
		{
	        put(RESPONSE_MSG, RESPONSE_MSG_SUCCESS);
	    }
	};
	
	@SuppressWarnings("serial")
	public final static Map<String, String> RESPONSE_MAP_ERROR = new HashMap<String, String>() {
		{
	        put(RESPONSE_MSG, RESPONSE_MSG_ERROR);
	    }
	};
	
	public static final String SPACE = " "; //空格符	
	
	public static final String SPLIT = ","; //逗号	
	
	public static final String EMPTY_STRING="";
	
	public static final String ZH_CN="zh_CN";
	
	public static final String EN_US = "en_US";
	
	public static final String LANGUAGE = "language";
	
	public static final String ZERO = "0";
	
	public static final String ONE = "1";
	
}
